#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
	int a;
	double b;
	cin>>a>>b;
	void *p;
	p=&a;
	cout<<*(int *)p<<endl;
	p=&b;
	cout<<*(double *)p<<endl;
	
	return 0;
}